package Domain;

public class Besked {

	private String emne;
	private String besked;
	private int bruger;
	private long timestamp;
	
	
	public Besked(String emne, String besked, int bruger, long timestamp){
		this.emne = emne;
		this.besked = besked;
		this.bruger = bruger;
		this.timestamp = timestamp;	
	}

	public String getEmne() {
		return emne;
	}
	public void setEmne(String emne) {
		this.emne = emne;
	}
	public String getBesked() {
		return besked;
	}
	public void setBesked(String besked) {
		this.besked = besked;
	}
	public int getBruger() {
		return bruger;
	}
	public void setBruger(int bruger) {
		this.bruger = bruger;
	}
	public long getTimestamp() {
		return timestamp;
	}
	public void setTimestamp(long timestamp) {
		this.timestamp = timestamp;
	}
	public String getTimeStampString()
	{
		return "" + this.timestamp;
	}
	
}
